﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace TalksLog.Domain.ValueObjects
{
    public sealed class Contacts
    {
        public Contacts(string email, string qq, string weChart)
        {
            this.Email = email;
            this.QQ = qq;
            this.WeChart = WeChart;
        }

        [MaxLength(50)]
        public String Email { get;}

        [MaxLength(50)]
        public String QQ { get;}

        [MaxLength(50)]
        public string WeChart { get;}
    }
}
